package com.huangwei.model;

public class Recommend {
    private Integer recommendId;
    private User user;
    private Car car;

    @Override
    public String toString() {
        return "Recommend{" +
                "recommendId=" + recommendId +
                ", car=" + car +
                ", user=" + user +
                '}';
    }

    public Recommend(Integer recommendId, Car car, User user) {
        this.recommendId = recommendId;
        this.car = car;
        this.user = user;
    }

    public Recommend() {
    }

    public Integer getRecommendId() {
        return recommendId;
    }

    public void setRecommendId(Integer recommendId) {
        this.recommendId = recommendId;
    }

    public Car getCar() {
        return car;
    }

    public void setCar(Car car) {
        this.car = car;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
